﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;



  public class Data
    {
      public static byte[] GetDatas(string message) 
      {
          byte[] messageBytes = Encoding.UTF8.GetBytes(message);
          int count = messageBytes.Length;
          byte[] countBytes = BitConverter.GetBytes(count);
          byte[] datas = countBytes.Concat(messageBytes).ToArray();
          return datas;

      
      
      
      
      }










    }

